module speaker.main;

import speaker.HelloSpeaker;
import speaker.ByeSpeaker; 
import speaker.api.Speaker;

import tango.io.Stdout;

public void main()
{
	Speaker hello = new HelloSpeaker();
	hello.setSpeech("Hello, World!");
	Stdout(hello.speak()).newline;
	
	Speaker bye = new ByeSpeaker();
	bye.setSpeech("Bye, World!");
	Stdout(bye.speak()).newline;
}